<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>01_hello</title>
    <script src="./js/vue.js" type="text/javascript"></script>
</head>

<body>
    <div id="root">
        <h1>Hello，{{name}}</h1>
    </div>
    <script type="text/javascript">
        Vue.config.productionTip = false
        var vue = new Vue({
            //el: '#root',
            data: {
                name: 'sgg'
            }
        });
        console.log(vue);
        setTimeout(() => {
            vue.$mount('#root');
        }, 1000);

    </script>
</body>

</html>